package intelligentcity.cities;

import intelligentcity.model.CityBuilder;
import intelligentcity.model.streets.HorizontalStreet;
import intelligentcity.model.streets.VerticalStreet;

public class AlabamaCityBuilder extends CityBuilder {

    public AlabamaCityBuilder() {
        super();

        leftBorderOfTraffic = 1;
        rightBorderOfTraffic = 899;
        upperBorderOfTraffic = 1;
        lowerBorderOfTraffic = 599;

        addStreet(new HorizontalStreet(0, 400, 150));
        
        addStreet(new VerticalStreet(190, 0, 360));
        addIntersection(new VerticalStreet(190, 360, 460), new HorizontalStreet(150, 400, 250));
        addStreet(new VerticalStreet(190, 460, 600));
        
        addStreet(new HorizontalStreet(250, 400, 400));
        
        addStreet(new VerticalStreet(440, 0, 360));
        addIntersection(new VerticalStreet(440, 360, 460), new HorizontalStreet(400, 400, 500));
        addStreet(new VerticalStreet(440, 460, 600));
        
        addStreet(new HorizontalStreet(500, 400, 650));
        
        addStreet(new VerticalStreet(690, 0, 360));
        addIntersection(new VerticalStreet(690, 360, 460), new HorizontalStreet(650, 400, 750));
        addStreet(new VerticalStreet(690, 460, 600));
        
        addStreet(new HorizontalStreet(750, 400, 900));       

    }

}
